package com.youxuan.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

public class RequestParam {

    @Data
    public static class LoginParam{

        @ApiModelProperty("手机号")
        private String phonenumber;

        @ApiModelProperty("密码")
        private String password;
    }

    @Data
    public static class UpdatePasswordParam{

        @ApiModelProperty("旧密码")
        private String oldPassword;

        @ApiModelProperty("新密码")
        private String newPassword;
    }

    @Data
    public static class UpdateUserInfoParam{

        @ApiModelProperty("用户名")
        private String userName;

        @ApiModelProperty("邮箱")
        private String email;

        @ApiModelProperty("手机号")
        private String phonenumber;

        @ApiModelProperty("性别")
        private String sex;
    }


}
